class R {
  constructor(code , message , data) {
    this.code = code
    this.message = message
    this.data = data
  }

  code = null
  message = null
  data = null


  static ok(message) {
    return new R(200 , message , null)
  }


  static fail(message) {
    return new R(500 , message , null)
  }

}

export default  R
